package com.xinchuang.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @Description: 物料基础信息表
 * @Author: thh
 * @Date: 2024/4/14 20:31
 */

@Data
@TableName(value = "test_materials_base_info")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "TestMaterialsBaseInfo对象", description = "")
public class TestMaterialsBaseInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 子类别
     */
    private String subType;

    /**
     * 类型：0-通用; 1-内部; 2-BYD; 3-奇瑞; 4-东风; 5-吉利
     */
    private Integer type;

    /**
     * 属性
     */
    private String prop;

    /**
     * 名称
     */
    private String name;

    /**
     * 单价
     */
    private BigDecimal price;

    /**
     * 创建时间
     */
    private String createTime;

}
